Part Number Hot Search : 
DS111 FC2187 MX29F04 VVX32 5KP10A TSHG5410 3100S TS15GSS
Product Description
Full Text Search
 

To Download DM9621A Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  DM9621A usb2.0 to fast ethernet controller final doc no: DM9621A-13-mco-ds-f01 june 30, 2015 1 davicom semiconductor, inc. DM9621A usb2.0 to 10/100m fast ethernet controller final version: DM9621A-13-mco-ds-f01 june 30, 2015 data sheet
DM9621A usb2.0 to fast ethernet controller final doc no: DM9621A-13-mco-ds-f01 june 30, 2015 2 content 1 features ............................................................................................................................................. 5 1.1 general description ............................................................................................................ 6 2 block diagram and block description .............................................................................................. 7 3 pin configuration .............................................................................................................................. 8 3.1 48-pin qfn with rmii interface ........................................................................................... 8 3.2 48-pin qfn with rmii interface ........................................................................................... 9 3.2.1 rmii interface ............................................................................................................ 9 3.2.2 eeprom interface ..................................................................................................... 9 3.2.3 usb interface ............................................................................................................ 9 3.2.4 clock interface ......................................................................................................... 10 3.2.5 led interface .......................................................................................................... 10 3.2.5 10/100 phy ............................................................................................................. 10 3.2.6 miscellaneous .......................................................................................................... 11 3.2.7 power ..................................................................................................................... 11 3.3 strap pin table .................................................................................................................. 11 4 vender control an status register set ............................................................................................12 4.1 network control register (00h) .........................................................................................14 4.2 network status register (01h) ...........................................................................................15 4.3 tx control register (02h) ..................................................................................................16 4.4 rx control register (05h) .................................................................................................16 4.5 rx status register (06h) ...................................................................................................17 4.6 receive overflow counter register (07h) ..........................................................................17 4.7 back pressure threshold register (08h) ...........................................................................18 4.8 flow control threshold register (09h)...............................................................................18 4.9 rx/tx flow control register (0ah) ...................................................................................19 4.10 eeprom & phy control register (0bh) ...........................................................................19 4.11 eeprom & phy address register (0ch) ..........................................................................20 4.12 eeprom & phy data register (ee_phy_l 0dh ee_phy_h 0eh).........................20 4.13 wake up control register (0fh) ........................................................................................20 4.14 physical address register (10h~15h)................................................................................20 4.15 multicast address register (16h~1dh) ..............................................................................21 4.16 general purpose control register (1eh)............................................................................21 4.17 general purpose register (1fh) ........................................................................................21 4.18 vendor id register (28h~29h)...........................................................................................21 4.19 product id register (2ah~2bh) .........................................................................................21 4.20 chip revision register (2ch) ............................................................................................21 4.21 tx special control register (2dh) .....................................................................................22 4.22 external phy force mode control register (2eh)..............................................................22 4.23 transmit check sum control register (31h) ......................................................................22 4.24 receive check sum control status register (32h) ............................................................23 4.25 external phy ceiver address register (33h) .....................................................................23 4.26 general purpose control register 2 (34h) .........................................................................23 4.27 general purpose register 2 (35h) .....................................................................................23 4.28 eeprom and phy control register (3ah) ........................................................................24 4.29 pause packet control/status register (3dh) .....................................................................24 4.30 ieee802.3az enter time register (3eh) ............................................................................24 4.31 ieee802.3az leave time register (3fh) ...........................................................................24 4.32 link up/down wakeup event register (51h) .....................................................................24 4.33 ipv6 na/arp register (52h)..............................................................................................25 4.34 minimum rx sof control register (58h) ..........................................................................25 4.35 minimum rx burst counter register (59h) ........................................................................25 4.36 transmit packet counter (81h) ..........................................................................................25 4.37 usb packet error counter (82h)........................................................................................25
DM9621A usb2.0 to fast ethernet controller final doc no: DM9621A-13-mco-ds-f01 june 30, 2015 3 4.38 ethernet receive packet crc error counter (83h)............................................................25 4.39 ethernet transmit excessive collision counter (84h) .........................................................26 4.40 ethernet transmit collision counter (85h) .........................................................................26 4.41 ethernet transmit late collision counter (86h) ..................................................................26 4.42 rx header control/status register (91h) ..........................................................................26 4.43 usb squelch control (95h) ...............................................................................................26 4.44 usb address (96h)............................................................................................................27 4.45 usb device address register (f0h) ..................................................................................27 4.46 receive packet counter register (f1h) .............................................................................27 4.47 usb status register (f2h) ................................................................................................27 4.48 usb control register (f4h) ...............................................................................................27 5 eeprom format ...............................................................................................................................28 6 phy register description.................................................................................................................29 6.1 basic mode control register (bmcr) ? 00h ......................................................................30 6.2 basic mode status register (bmsr) ? 01h........................................................................31 6.3 phy id identifier register #1 (phyid1) ? 02h ...................................................................32 6.4 phy identifier register #2 (phyid2) ? 03h ........................................................................32 6.5 auto-negotiation advertisement register(anar) ? 04h .....................................................33 6.6 auto-negotiation link partner ability register (anlpar) ? 05h .........................................34 6.7 auto-negotiation expansion register (aner)- 06h............................................................35 6.8 davicom specified configuration register (dscr) ? 10h ................................................36 6.9 davicom specified configuration and status register (dscsr) ? 11h ............................37 6.10 10base-t configuration/status (10btcsr) ? 12h ............................................................38 6.11 power down control register (pwdor) ? 13h ..................................................................38 6.12 (specified config) register ? 14h ......................................................................................39 6.13 dsp control (dsp_ctrl) ? 1bh .......................................................................................40 6.14 power saving control register (pscr) ? 1dh ...................................................................40 7 functional description .....................................................................................................................41 7.1 usb functional description ...............................................................................................41 7.1.1 usb functional description ....................................................................................... 41 7.1.2 vender commands ................................................................................................... 42 7.1.3 interface 0 configuration ........................................................................................... 43 7.1.4 descriptor values ..................................................................................................... 45 7.1.5 descriptors of string/1/2/3 are loaded from eeprom ................................................. 48 7.2 ethernet functional description .........................................................................................49 7.2.1 serial management interface ..................................................................................... 49 7.2.2 100base-tx operation ............................................................................................. 50 7.2.3 4b5b encoder ......................................................................................................... 50 7.2.4 scrambler ............................................................................................................... 50 7.2.5 parallel to serial converter ........................................................................................ 50 7.2.6 nrz to nrzi encoder ............................................................................................... 50 7.2.7 mlt-3 converter ...................................................................................................... 50 7.2.8 mlt-3 driver ............................................................................................................ 51 7.2.9 4b5b code group .................................................................................................... 51 7.2.10 100base-tx receiver ............................................................................................. 52 7.2.11 signal detect ......................................................................................................... 52 7.2.12 adaptive equalization .............................................................................................. 52 7.2.13 mlt-3 to nrzi decoder .......................................................................................... 52 7.2.14 clock recovery module .......................................................................................... 52 7.2.15 nrzi to nrz .......................................................................................................... 52 7.2.16 serial to parallel ..................................................................................................... 53
DM9621A usb2.0 to fast ethernet controller final doc no: DM9621A-13-mco-ds-f01 june 30, 2015 4 7.2.17 descrambler 53 7.2.18 code group alignment ............................................................................................ 53 7.2.19 4b5b decoder ....................................................................................................... 53 7.2.20 10base-t operation ............................................................................................... 53 7.2.21 collision detection .................................................................................................. 53 7.2.22 carrier sense ........................................................................................................ 53 7.2.23 auto-negotiation ..................................................................................................... 53 7.2.24 auto-negotiation (continued) .................................................................................... 54 7.2.25 energy-efficient ethernet (eee) ............................................................................... 54 8 dc and ac electrical characteristics ..............................................................................................55 8.1 absolute maximum ratings ................................................................................................55 8.1.1 operating conditions ................................................................................................ 55 8.2 dc electrical characteristics (vdd = 3.3v) ........................................................................56 8.3 ac electrical characteristics & timing waveforms .............................................................57 8.3.1 tp interface ..................................................................................................... 57 8.3.2 oscillator/crystal timing (25 c) .......................................................................... 57 9 ac timing waveform ........................................................................................................................58 9.1 power on reset timing .....................................................................................................58 9.2 eeprom timing ................................................................................................................59 9.3 mii management timing .....................................................................................................59 9.4 rmii tx timing ..................................................................................................................60 9.5 rmii tx timing ..................................................................................................................60 10 magnetic and crystal selection guide ............................................................................................61 10.1 magnetic selection guide ..................................................................................................61 10.2 crystal selection guide ......................................................................................................61 11 application circuit ............................................................................................................................62 12 package information ........................................................................................................................65 13 ordering information ........................................................................................................................66
DM9621A usb2.0 to fast ethernet controller final doc no: DM9621A-13-mco-ds-f01 june 30, 2015 5 1 features l usb interface usb2.0 device support 12mbps full speed operation support 480mbps high speed operation support suspend mode and remote wake-up resume support usb standard commands support vendor specific commands efficient tx/rx fifo auto management. embedded sram for rx/tx packet buffering supports 4 endpoints (control, interrupt, bulk_in, bulk_out) supported classes usb common class / usb communications class l ethernet support ieee802.3u 100base-tx and with ieee802.3 10base-t standards support ieee802.3x flow control function for 100base-tx and 10base-t. support ieee 802.3az energy efficient ethernet (eee) built-in 10/100mbps fast-ethernet phy with auto-mdix supports rmii interface or 8 pins gpio support auto-negotiation function back pressure mode for half-duplex mode flow control pause frame for full-duplex flow control support power management: wake-on-lan, arp/ndp offload supports gpio, wakeup frame, link status change and magic packet events for remote wake-up support tcp / udp / ipv4 checksum offload checking and generating l eeprom interface supports 128/256/512 bytes (93c46/93c56/93c66) of serial eeprom(for storing usb descriptors) 93c46/93c56/93c66 auto-detection
DM9621A usb2.0 to fast ethernet controller final doc no: DM9621A-13-mco-ds-f01 june 30, 2015 6 l led indications ethernet ? link / act indication ethernet ? speed (10m / 100m) indication usb speed indication (full / high speed + traffic modes) l clock single 25mhz / 30 ppm crystal or oscillator optional 12mhz crystal for usb l power input low-power, single-supply 3.3v, 0.18um cmos technology built in 3.3v to 1.8v regulator l miscellaneous very low power consumption in suspend mode power reduced mode (cable detection), and power down mode compatible with 5.0v tolerant i/o 1.1 general description the DM9621A usb to 10/100mbps fast ethernet controller is a high performance and highly integrated asic with embedded ssram for packet buffering. it enables low cost and affordable fast ethernet network connection to desktop, notebook pc, and embedded system using popular usb ports. it has an usb interface to communicate with usb host controller and is compliant with usb specification v1.0, v1.1 and v2.0. it implements 10/100mbps ethernet lan function based on ieee802.3, and ieee802.3u standards. DM9621A integrates an on-chip 10/100mbps ethernet phy to simplify system design and provides an optional reduce media-independent interface (rmii).
DM9621A usb2.0 to fast ethernet controller final doc no: DM9621A-13-mco-ds-f01 june 30, 2015 7 2 block diagram and block description usb phy sie ep1 bulk in fifo bulk out fifo sram rx fifo tx fifo mac ethernet phy register control table data eeprom interface utmi mii eeprom ep2
DM9621A usb2.0 to fast ethernet controller final doc no: DM9621A-13-mco-ds-f01 june 30, 2015 8 3 pin configuration 3.1 48-pin qfn with rmii interface 3 6 3 5 3 4 3 3 3 2 3 1 3 0 2 9 2 8 2 7 2 6 2 5 1 2 3 4 5 6 7 8 9 1 0 1 1 1 2 24 23 22 21 20 19 18 17 16 15 14 13 37 38 39 40 41 42 43 44 45 46 47 48 DM9621Anp vss s m i _ d s m i _ c k s p d _ l e d u s b _ l e d w o l r s t b t e s t 1 t e s t 2 x 2 _ 1 2 m v b u s _ i n l n k _ l e d x 2 _ 1 2 m txd0 eedio gnd rxdv mdc mdio clk50m vcc3 eeck eecs rxd0 rxd1 b g r e s t x v d d o u t r x + t x - r x - r x g n d t x g n d t x + r x v d d o u t t x e t x d 1 b g g n d vcc3a rref dp dm gnd_pll vcc3 x2 vccout gnd vcc33_pll x1 gnd note: the DM9621Anp ic employs a qfn package, which means the absence of a pin dedicated to ground (gnd). in the qfn package, the gnd is located at the bottom of the ic directly in the middle. square is where the gnd is connected. exposed pad (vss) on bottom of package must be connected to ground.
DM9621A usb2.0 to fast ethernet controller final doc no: DM9621A-13-mco-ds-f01 june 30, 2015 9 3.2 48-pin qfn with rmii interface i = input o = output i/o = input / output o/d = open drain p = power 3.2.1 rmii interface pin no. pin name i/o description 11 txe o external rmii transmit enable gpio2_0 in gpio mode 12,13 txd[1:0] o external rmii transmit data txd[1] as gpio2_1 in gpio mode txd[0] as gpio2_2 in gpio mode 14,15 rxd[1:0] i external rmii receive data rxd[1] as gpio2_3 in gpio mode rxd[0] as gpio2_4 in gpio mode 17 rxdv i external rmii receive data valid gpio2_5 in gpio mode 18 mdc o mii serial management data clock 19 mdio i/o mii serial management data gpio2_6 in gpio mode 23 clk50m i rmii 50mhz clock gpio2_7 in gpio mode 3.2.2 eeprom interface pin no. pin name i/o description 20 eedio i/o data to/from eeprom 21 eeck o clock to eeprom 22 eecs o chip select to eeprom 3.2.3 usb interface pin no. pin name i/o description 37 vcc3a p 3.3v for usb 38 gnd p ground for usb 39 rref i reference resistor to analog usb ground (12k 1% for usb) 40 dm i/o usb data minus 41 dp i/o usb data plus 42 vcc33_pll p 3.3v for usb pll 43 gnd_pll p ground for usb pll 44 vccout o 1.8v power out for usb
DM9621A usb2.0 to fast ethernet controller final doc no: DM9621A-13-mco-ds-f01 june 30, 2015 10 3.2.4 clock interface pin no. pin name i/o description 46 x2 o crystal 25mhz out for ethernet 47 x1 i crystal 25mhz in for ethernet 35 x1_12m i crystal 12mhz in for usb (option, used when strap pin 22 eecs pull-high), normal n.c. * note1 36 x2_12m o crystal 12mhz out for usb (option, used when strap pin 22 eecs pull-high), normal n.c. * note1 * note1: when strap pin 22 eecs pull-low, 12mhz clock from internal pll, detail see 3.3 strap pins table (page 11) 3.2.5 led interface pin no. pin name i/o description 27 usb_led o usb led active low for usb hs mode floating for usb fs mode flash if traffic on usb 28 spd_led o speed led active low for ethernet 100m floating for ethernet 10m 29 lnk_led o link led active low for ethernet link floating for ethernet non-link flash if traffic on ethernet 3.2.5 10/100 phy pin no. pin name i/o description 1 bggnd p band gap ground. 2 bgres i/o band gap pin. connect 6.98k 1% resister to gnd 3 rxvddout o 1.8v power out for rx 4 rx+ i tp rx input 5 rx- i tp rx input 6 rxgnd p rx ground 7 txgnd p tx ground 8 tx+ o tp tx output 9 tx- o tp tx output 10 txvddout o 1.8v power out for tx power
DM9621A usb2.0 to fast ethernet controller final doc no: DM9621A-13-mco-ds-f01 june 30, 2015 11 3.2.6 miscellaneous pin no. pin name i/o description 25 smi_d i/o serial management interface data. tie to ground in application. 26 smi_ck i/o serial management interface clock. tie to ground in application. this pin can also as a gpio wakeup event defined in register 0fh. 32 vbus_in i vbus input tie to high in bus power mode 33 wol o issue a wake-up signal when wake-up event happens. 34 rstb i hardware reset active low signal to initiate the DM9621A 31 test2 i test mode 2, tie to ground in application. 30 test1 i define pin11-15, 17-19 mode 1 = gpio controlled by registers 34h~35h 0 = rmii 3.2.7 power pin no. pin name i/o description 24,45 vcc3 p digital power 3.3v 16,48 gnd p digital ground 3.3 strap pin table 1: pull-high 1k~10k, 0: default floating. pin no. pin name description 12 txd[1] 1 = eeprom force to 93c46 type 0 = eeprom type auto-detection 13 txd[0] rx packet header format 1 = 4-byte ethernet rx header mode : the 4 bytes in ethernet rx packet header are rx _flag, rx_status, byte_ctr_low, and byte_ctr_high respectively. 0 = 3-byte ethernet rx packet header mode: the 3 bytes in ethernet rx packet header are rx_status, byte_ctr_low, and byte_ctr_high respectively. 22 eecs 1 = 12mhz clock from external crystal 0 = 12mhz clock from internal pll
DM9621A usb2.0 to fast ethernet controller final doc no: DM9621A-13-mco-ds-f01 june 30, 2015 12 4 vender control an status register set the DM9621A implements several control and status registers, which can be accessed by the usb vendor register type commands. all crs are set to their default values by hardware or software reset unless otherwise specified. register description offset default value after reset ncr network control register 00h 00h nsr network status register 01h 00h tcr tx control register 02h 00h rcr rx control register 05h 00h rsr rx status register 06h 00h rocr receive overflow counter register 07h 00h bptr back pressure threshold register 08h 37h fctr flow control threshold register 09h 38h fcr rx flow control register 0ah 00h epcr eeprom & phy control register 0bh 00h epar eeprom & phy address register 0ch 40h epdrl eeprom & phy low byte data register 0dh unknown epdrh eeprom & phy high byte data register 0eh unknown wcr wake up control register 0fh 00h par physical address register 10h-15h determined by eeprom mar multicast address register 16h-1dh 000000000000 0080 gpcr general purpose control register 1eh 01h gpr general purpose register 1fh unknown vid vendor id 28h-29h 0a46h pid product id 2ah-2bh 9621h chipr chip revision 2ch 01h tscr tx special control register 2dh 00h tcscr transmit check sum control register 31h 00h rcscsr receive check sum control status register 32h 00h gpcr2 general purpose control register 2 34h 00h gpr2 general purpose register 2 35h 00h eep_ctrl eeprom and phy control register 3ah 00h ppcsr pause packet control status register 3dh 04h tx_ctr transmit packet counter 81h 00h uperr usb packet error counter 82h 00h crc_ctr ethernet receive packet crc error counter 83h 00h excol_ct r ethernet transmit excessive collision counter 84h 00h col_ctr ethernet transmit collision counter 85h 00h lcol_ctr ethernet transmit late collision counter 86h 00h mode_ctl mode control 91h 00h squelch usb squelch control 95h 04h usb_adr usb address 96h 00h usbda usb device address register f0h 00h rxc received packet counter register f1h 00h txc/usbs transmit packet counter/usb status register f2h 10h usbc usb control register f4h 00h
DM9621A usb2.0 to fast ethernet controller final doc no: DM9621A-13-mco-ds-f01 june 30, 2015 13 key to default in the register description that follows, the default column takes the form: : 1 = bit set to logic one h = hardware reset command default value 0 = bit set to logic zero s = software reset default value x = no default value e = default value from eeprom p = power on reset default value t = default value from strap pin : ro = read only rw = read/write r/c = read and clear rw/c1 = read/write and cleared by write 1 wo = write only reserved bits are shaded and should be written with 0. reserved bits are undefined on read access.
DM9621A usb2.0 to fast ethernet controller final doc no: DM9621A-13-mco-ds-f01 june 30, 2015 14 4.1 network control register (00h) bit name default description 7 ext_phy pt0,rw external phy m ode (valid when pin test1 tie to ground) 1 = select external phy 0 = select internal phy this bit can be forced by register 2eh bit 5. 6 wakeen pe0,rw wakeup e vent e nable this but enables the wakeup function. clearing this bit will also clear all wakeup event status. 5 wcr_mode phs,rw write to clear mode the following register bits are cleared by write ?1?. register 1 bit 2 and 3 register 7 register 0ah bit 2 register 82h ~ 86h 4 fcol phs0,rw force collision in loopback mode used for testing only. 3 fdx phs0,rw full - duplex m ode 1 = full-duplex mode 0 = half-duplex mode read only in internal phy mode. this bit can be written only in external phy mode. this bit can also be forced by register 2eh bit 5 and 1. 2:1 lbk ph00,rw loopback m ode 00 = normal 01 = mac internal loopback 10 = internal phy digital loopback 11 = internal phy analog loopback 0 rst ph0,rw software reset when write ?1? to this bit, DM9621A enters software reset mode and will be automatically cleared after 10us. write ?0? to this bit can end the software reset mode.
DM9621A usb2.0 to fast ethernet controller final doc no: DM9621A-13-mco-ds-f01 june 30, 2015 15 4.2 network status register (01h) bit name default description 7 speed phs0, rw media speed status 1 = 10mbps 0 = 100mbps this bit is no meaning when linkst=0. this bit read only in internal phy mode and it can be written in external phy mode. this bit can also be forced by register 2eh bit 5 and 2. 6 linkst phs0, ro link s tatus 1 = link ok 0 = link failed this bit read only in internal phy mode and it can be written in external phy mode. this bit can also be forced by register 2eh bit 5 and 0. 5 wakest p0, w/c1 wakeup e vent s tatus this bit is set when wakeup event status asserted. this bit is cleared by write ?1? or when wakeup mode disabled. 4 reserved phs0, ro reserved 3 reserved phs0, rw/c1 reserved 2 reserved phs0, rw/c1 reserved 1 rxov phs0, ro rx fifo overflow status this bit is set when rx fifo free space is less than 544-byte this bit be cleared when rx fifo free space is more than 2k. 0 rxrdy phs0, ro rx packet ready this bit is set when there are one or more packets in rx fifo.
DM9621A usb2.0 to fast ethernet controller final doc no: DM9621A-13-mco-ds-f01 june 30, 2015 16 4.3 tx control register (02h) bit name default description 7 reserved 0,ro reserved 6 tjdis phs0, rw transmit jabber disable the transmit jabber timer(2048 bytes) is disabled. otherwise the transmit packet size can more than 2048-byte. 5 excecm phs0, rw ex cessive collision mode control 1 = still try to transmit this packet 0 = abort this packet when excessive collision count more than 15 4 reserved phs0, rw reserved 3 reserved phs0, rw reserved 2 pad_dis1 phs0, rw tx packet pad append control 1 = the transmit packet size is unchanged from original setting 0 = the transmit packet size is appended to at least 64-byte 1 crc_dis1 phs0, rw tx pack et index ii crc appends control 1 = the crc field is not appended 0 = the crc field is appended automatically 0 reserved phs0, rw reserved 4.4 rx control register (05h) bit name default description 7 hashall phs0,rw filter all address in hash table 6 wtdis phs0,rw watchdog timer disable when set, the watchdog timer(2048 bytes) is disabled and the rx packet may more than 2048-byte. when cleared, the watchdog timer(2048 bytes) is enabled and he rx packet is truncated after the data more than 2048-byte. 5 dis_long phs0,rw discard long packet the packets with length over 1522-byte are discarded from rx memory. 4 dis_crc phs0,rw discard crc error packet the packets with crc error are discarded from rx memory. 3 all phs0,rw pass all multicast the packets with multicast destination address are stored to rx memory. 2 runt phs0,rw pass runt packet the packets with size less than 64-byte are stored to rx memory. 1 prmsc phs0,rw promiscuous mode the destination address is do not be checked. 0 rxen phs0,rw rx enable the received accepted packets can be stored to rx memory.
DM9621A usb2.0 to fast ethernet controller final doc no: DM9621A-13-mco-ds-f01 june 30, 2015 17 4.5 rx status register (06h) bit name default description 7 rf phs0,ro runt frame it is set to indicate the received frame has the size smaller than 64 bytes. 6 mf phs0,ro multicast frame it is set to indicate the received frame has a multicast address. 5 lcs phs0,ro late collision seen it is set to indicate a late collision found during the frame reception. 4 rwto phs0,ro receive watchdog time - out it is set to indicate receive more than 2048 bytes. 3 ple phs0,ro physical layer error it is set to indicate a physical layer error found during the frame reception. 2 ae phs0,ro alignment error it is set to indicate the received frame ends with a non-byte boundary. 1 ce phs0,ro crc error it is set to indicate the received frame ends with a crc error. 0 foe phs0,ro fifo overflow error it is set to indicate a fifo overflow error happens during the frame reception. 4.6 receive overflow counter register (07h) 07h can be cleared by writing any data this byte. they also can be cleared by read this byte if register 0h bit 5 is ?0?. bit name default description 7 rxfu phs0, rw/c receive overflow counter overflow this bit is set when the roc has an overflow condition. 6:0 roc phs0, rw/c receive overflow counter this is a statistic counter to indicate the received packet count upon fifo overflow.
DM9621A usb2.0 to fast ethernet controller final doc no: DM9621A-13-mco-ds-f01 june 30, 2015 18 4.7 back pressure threshold register (08h) bit name default description 7:4 bphw phs3h, rw back pressure high water overflow threshold. mac will generate the jam pattern when rx sram free space is lower than this threshold value. default is 3k-byte free space. please don?t exceed sram size. (1 unit=1k bytes) 3:0 jpt phs7h, rw jam pattern time. default is 100us. bit3 bit2 bit1 bit0 time 0 0 0 0 2.5us 0 0 0 1 5us 0 0 1 0 7.5us 0 0 1 1 12.5us 0 1 0 0 25us 0 1 0 1 50us 0 1 1 0 75us 0 1 1 1 100us 1 0 0 0 125us 1 0 0 1 150us 1 0 1 0 175us 1 0 1 1 200us 1 1 0 0 2250us 1 1 0 1 250us 1 1 1 0 275us 1 1 1 1 300us 4.8 flow control threshold register (09h) bit name default description 7:4 hwot phs3h, rw rx fifo high water overflow threshold send a pause packet with pause_time=ffffh when the rx ram free space is less than this value., if this value is zero, its meaning is no free rx sarm space. default is 3k-byte free space. please don?t exceed sram size. (1 unit=1k bytes) 3:0 lwot phs8h, rw rx fifo low water overflow threshold send a pause packet with pause_time=0000 when rx sarm free space is larger than this value. this pause packet is enabled after high water pause packet transmitted. default sram free space is 8k-byte. please don?t exceed sram size. (1 unit=1k bytes)
DM9621A usb2.0 to fast ethernet controller final doc no: DM9621A-13-mco-ds-f01 june 30, 2015 19 4.9 rx/tx flow control register (0ah) bit name default description 7 txp0 phs0,rw force to t x pause packet with time 0000h this bit will be automatically cleared after pause packet transmission completion. set to tx pause packet with time = 0000h. 6 txpf phs0,rw force to tx pause packet with time ffffh this bit will be automatically cleared after pause packet transmission completion. set to tx pause packet with time = ffffh. 5 txpen phs0,rw tx pause packet enable enable the pause packet for high/low water threshold of register 09h in full-duplex mode. 4 bkpa phs0,rw b ack pressure packet mode enable generate a jam pattern when any packet coming and rx sram over bphw of register 8h in half-duplex mode. 3 bkpm phs0,rw back pressure da mode generate a jam pattern when a packet?s da match and rx sram over bphw of register 8h in half-duplex mode. 2 rxps phs0, rw/c rx pause packet status this bit latched the rx pause packet in full-duplex mode. this bit can be cleared by write ?1? to this bit or cleared automatically after read if register 0h bit 5 is ?0?. 1 rxpcs phs0,ro rx pause packet current status when set, it indicated that the pause timer is not down count to ?0? yet. 0 flce phs0,rw flow control enable when set, it enable the flow control mode(i.e. can to disable tx function). 4.10 eeprom & phy control register (0bh) bit name default description 7 no_eep p0,ro eeprom absent when set, it indicates the eeprom 93c46 or 93c56/66 is not detected. 6 ee_type p0,ro eeprom t ype 1 = 93c56/66 0 = 93c46 5 reep ph0,rw reload eeprom the eeprom is re-loaded. driver needs to clear it after operation complete. 4 wep ph0,rw write eeprom e nable the written ability of eeprom is enabled. 3 epos ph0,rw eeprom or phy operation select when reset, select eeprom; when set, select phy. 2 erprr ph0,rw eeprom re ad or phy register read command write ?1? to start eeprom or phy read operation. this bit will be cleared after the completion of read operation. 1 erprw ph0,rw eeprom writ e or phy register write command write ?1? to start eeprom or phy write operation. this bit will be cleared after the completion of write operation. 0 erre ph0,ro eeprom access status or phy access status when set, it indicates that the eeprom or phy access is in progress.
DM9621A usb2.0 to fast ethernet controller final doc no: DM9621A-13-mco-ds-f01 june 30, 2015 20 4.11 eeprom & phy address register (0ch) bit name default description 7:6 phy_adr ph01,rw phy address bit [1 :0] or eeprom word address[7:6] if it is in phy mode operation , the phy address bit [4:2] is force to 0. force to 01 if internal phy is selected. or eeprom word address[7:6] if eeprom 93c56/66 is used 5:0 eroa ph0,rw eeprom word address[5:0] or phy register number 4.12 eeprom & phy data register (ee_phy_l 0dh ee_phy_h 0eh) bit name default description 7:0 ee_phy_l x,rw eeprom or phy low byte data 7:0 ee_phy_h x,rw eeprom or phy high byte data 4.13 wake up control register (0fh) bit name type description 7 smi_en p0,rw smi_c event enable when set, enable smi_c as gpio wake-up event. this event occurred in 100ms low state and then 100ms high state in smi_c pin 6 smi_st p0,ro smi_c even status when set, indicates smi_c event occurred. 5 linken pe0,rw link change event enable when set, enable link status change wake-up event. 4 sampleen pe0,rw sample frame match event enable when set, enable sample frame wake-up event. 3 magicen pe0,rw magic packet event enable when set, enable magic packet wake-up event. 2 linkst p0,ro link change event status when set, indicates link change and link status change event occurred. 1 samplest p0,ro sample frame mtach event status when set, indicates the sample frame is received and sample frame event occurred. this bit will not be affected after a software reset. 0 magicst p0,ro magic packet event status when set, indicates the magic packet is received and magic packet event occurred. this bit will not be affected after a software reset. 4.14 physical address register (10h~15h) bit name default description 7:0 pab5 e,rw physical address byte 5 (15h) 7:0 pab4 e,rw physical address byte 4 (14h) 7:0 pab3 e,rw physical address byte 3 (13h) 7:0 pab2 e,rw physical address byte 2 (12h) 7:0 pab1 e,rw physical address byte 1 (11h) 7:0 pab0 e,rw physical address byte 0 (10h)
DM9621A usb2.0 to fast ethernet controller final doc no: DM9621A-13-mco-ds-f01 june 30, 2015 21 4.15 multicast address register (16h~1dh) bit name default description 7:0 mab7 p80,rw multicast address byte 7 (1dh) 7:0 mab6 p00,rw multicast address byte 6 (1ch) 7:0 mab5 p00,rw multicast address byte 5 (1bh) 7:0 mab4 p00,rw multicast address byte 4 (1ah) 7:0 mab3 p00,rw multicast address byte 3 (19h) 7:0 mab2 p00,rw multicast address byte 2 (18h) 7:0 mab1 p00,rw multicast address byte 1 (17h) 7:0 mab0 p00,rw multicast address byte 0 (16h) 4.16 general purpose control register (1eh) bit name default description 7:4 reserved p0,ro reserved 3:0 reserved p0111, rw reserved 4.17 general purpose register (1fh) bit name default description 7:4 reserved p0,ro reserved 3:1 reserved p0,rw reserved 0 gepio0 pe1,rw general purpose when the correspondent bit of general purpose control register is 1, the value of the bit is output to pin gepio0. when the correspondent bit of general purpose control register is 0, the value of the bit be read is reflected from pin gepio0. gepio0 default output 1 to power_down internal phy. driver need to clear this power_down signal by write ?0? when it wants phy active. if other device need, it also can refer this signal. this default value can be programmed by eeprom. please refer eeprom description. 4.18 vendor id register (28h~29h) bit name default description 7:0 vidh 0ah,ro vendor id high byte (29h) 7:0 vidl 46h,ro vendor id low byte (28h) 4.19 product id register (2ah~2bh) bit name default description 7:0 pidh 96h,r product id high byte (2bh) 7:0 pidl 20h,r product id low byte (2ah) 4.20 chip revision register (2ch) bit name default description 7:0 chipr 01h,ro chip revision
DM9621A usb2.0 to fast ethernet controller final doc no: DM9621A-13-mco-ds-f01 june 30, 2015 22 4.21 tx special control register (2dh) bit name default description 7 reserved ph0,rw reserved 6 lcol_try ph0,rw late collision retry 5 reserved ph0,rw reserved 3 reserved ph0,rw reserved 3:0 tx_gap ph0,rw tx inter frame gap 0xxx = 96-bit 1000 = 64-bit 1001 = 72-bit 1010 = 80-bit 1011 = 88-bit 1100 = 96-bit 1101 = 104-bit 1110 = 112-bit 1111 = 120-bit 4.22 external phy force mode control register (2eh) bit name default description 7:6 reserved 0,ro reserved 5 external hp0,rw force to external phy mode 4 reserved 0,ro reserved 3 reserved ph0,rw reserved 2 speed hp0,rw force external phy s peed m ode in mac register 1 bit 7 1 = force to 10mbps mode 0 = force to 100mbps mode 1 duplex hp0,rw force e xternal phy d uplex m ode in mac register 0 bit 3 1 = force to half-duplex 0 = force to full-duplex 0 link hp0,rw force external phy l ink m ode in mac register 1 bit 6 1 = force to link off 0 = force to link on 4.23 transmit check sum control register (31h) bit name default description 7:3 reserved 0,ro reserved 2 udpcse hps0,rw udp checksum generation enable 1 tcpcse hps0,rw tcp checksum generation enable 0 ipcse hps0,rw ip checksum generation enable
DM9621A usb2.0 to fast ethernet controller final doc no: DM9621A-13-mco-ds-f01 june 30, 2015 23 4.24 receive check sum control status register (32h) bit name default description 7 udps hps0,ro udp checksum status 1 = udp packet checksum error 0 = udp packet checksum ok, or this is not udp packet 6 tcps hps0,ro tcp checksum status 1 = tcp packet checksum error 0 = tcp packet checksum ok, or this is not tcp packet 5 ips hps0,ro ip checksum status 1 = ip packet checksum error 0 = ip packet checksum ok, this is not ip packet 4 udpp hps0,ro udp packet 3 tcpp hps0,ro tcp packet 2 ipp hps0,ro ip packet 1 rcsen hps0,rw receive checksum checking enable the checksum status will store in packet first byte of status header in 4-byte rx header register 91h.bit7 mode. 0 dcse hps0,rw discard checksum error packet when set, if ip/tcp/udp checksum field is error, this packet will be discarded. 4.25 external phy ceiver address register (33h) bit name default description 7 adr_en hps0,rw external phy address enabled when set in external mii mode, the external phyceiver address is defined at bit 4:0. 6:5 reserved hps0,ro reserved 4:0 ephyadr hps01, rw external phy address bit 4: 0 the phy address in external mii mode. 4.26 general purpose control register 2 (34h) bit name default description 7:0 gpc2 hp0,rw general purpose control 2 define the input mode (?0?,) or output mode (?1?) of pins gp_grp2. where the gp_grp2 are pins gpio2 listed in pin description 4.27 general purpose register 2 (35h) bit name default description 7:0 gpd2 hp0,rw general purpose register 2 data when the correspondent bit of general purpose control register 2 is set, i.e. output mode, the value of the bit is reflected to pins gp_gpr2 when the correspondent bit of general purpose control register 2 is 0, i.e. input mode, the value of the bit to be read is reflected from correspondent pins gp_gpr2. note: dm9621/9621a no register 36h,37h
DM9621A usb2.0 to fast ethernet controller final doc no: DM9621A-13-mco-ds-f01 june 30, 2015 24 4.28 eeprom and phy control register (3ah) bit name default description 7 force_46 pt0,rw force eeprom to 93c46 type 6 det_46 p0,ro auto-detect eeprom as 93c46 5 det_56 p0,ro auto-detect eeprom as 93c56/66 4:3 eeck_spd p0,rw re - define eeprom eeck speed 00=0.2mhz, 01=0.5mhz, 10=1mhz, 11=2mhz 2 no_pre p0,rw do no generate ethernet phy preamble in mdio 1:0 mdc_spd p0,rw re - define ethernet phy mdc speed 00=1mhz, 01=3.1mhz, 10=12.5mhz, 11=0.25mhz 4.29 pause packet control/status register (3dh) bit name default description 7:4 pause_ctr p0,ro pause packet counter the pause packet counter before rx sram flow control low threshold reached. 3:0 pause_max phs4, rw max. pause packet count the maximum pause packet with timer ffffh is transmit, when the rx sram is still in high threshold when pause timer timeout. 4.30 ieee802.3az enter time register (3eh) bit name default description 7 reserved p,ro reserved 6:0 enter_time phs5, rw timer to enter eee lpi mode (unit 2us) when the idle time of transmit is greater than this timer, the DM9621A enter low power idle mode. 4.31 ieee802.3az leave time register (3fh) bit name default description 7 eee_en p0,ro eee enable 6:0 leave_time phsf, rw timer to leave eee lpi mode (unit 2us) in low power idle mode, when the tx sram have packets to be transmit, the DM9621A enter normal operation mode after this timer timeout. 4.32 link up/down wakeup event register (51h) bit name default description 7:2 reserved p,ro reserved 1 link_dw_d phs0, rw link down wol control 1 = enable link down wakeup event 0 = disable link down wakeup event 0 link_up_d phs1, rw link up wol control 1 = enable link up wakeup event 0 = disable link up wakeup event
DM9621A usb2.0 to fast ethernet controller final doc no: DM9621A-13-mco-ds-f01 june 30, 2015 25 4.33 ipv6 na/arp register (52h) bit name default description 7:4 reserved p,ro reserved 3 ipv6_nd_a phs0, rw ipv6 neighbor solicitation remote address control 1= enable to check remote address field 0 = disable to check remote address field 2 ip_arp_a phs0, rw ip arp request destination ip address control 1 = enable to check dst ip address field 0 = disable to check dst ip address field 1 ipv6_na_e phs0, rw ipv6 neighbor advertisement control 1 = enabled 0 = disabled 0 ip_arp_e phs0, rw ip arp offload control 1 = enabled 0 = disabled 4.34 minimum rx sof control register (58h) bit name default description 7:0 sof_count ps0,ro sof control counter the minimum sof count to report packet ready in multi-rx mode 4.35 minimum rx burst counter register (59h) bit name default description 7:0 rx_count ps0,ro multi - rx m ode minimum rx byte count (unit: 512-byte) to report packet ready in multi-rx mode. 4.36 transmit packet counter (81h) bit name default description 7:0 tx_ctr ps0,ro tx packet count the tx packet count in tx sram. 4.37 usb packet error counter (82h) bit name default description 7:0 usb_err phs0, rw/c usb data error count this counter is increased when there has been data crc error in usb packet. this counter can be cleared by read if register 5 is ?0? or by write to this register with any data. 4.38 ethernet receive packet crc error counter (83h) bit name default description 7:0 rx_err phs0, rw/c ethernet rx packet crc error count this counter is increased when there has been crc error in ethernet receive packet. this counter can be cleared by read if register 5 is ?0? or by write to this register with any data.
DM9621A usb2.0 to fast ethernet controller final doc no: DM9621A-13-mco-ds-f01 june 30, 2015 26 4.39 ethernet transmit excessive collision counter (84h) bit name default description 7:0 ecol_ctr phs0, rw/c ethernet tx packet excessive collision count this counter is increased when there has been excessive collision, i.e. continued 16 collisions, in ethernet transmit packet. this counter can be cleared by read if register 5 is ?0? or by write to this register with any data. 4.40 ethernet transmit collision counter (85h) bit name default description 7:0 col_ctr phs0, rw/c ethernet tx packet collision count this counter is increased when there has been collision in ethernet transmit packet. this counter can be cleared by read if register 5 is ?0? or by write to this register with any data. 4.41 ethernet transmit late collision counter (86h) bit name default description 7:0 lcol_ctr phs0, rw/c ethernet tx packet late collision count this counter is increased when there has been late collision in ethernet transmit packet. this counter can be cleared by read if register 5 is ?0? or by write to this register with any data. 4.42 rx header control/status register (91h) bit name default description 7 rx header mode pt,rw rx h eader m ode reference to sec. 7.1.3.1 1 = 4-byte rx header 0 = 3-byte rx header. this is compatible with dm9601. 6:4 reserved p,ro reserved 3 multi rx_usb pt,rw usb bu lk in transfer for ethernet rx p acket 1 = multiple ethernet rx packets in one usb bulk in transfer 0 = only one ethernet rx packet in one usb bulk in transfer 2 multi tx _ usb pt,rw usb bulk ou t transfer for ethernet tx p acket 1 = allow multiple ethernet tx packets in one usb bulk out transfer 0 = only one ethernet tx packet in one usb bulk out transfer 1:0 reserved p0,rw reserved 4.43 usb squelch control (95h) bit name default description 7:2 reserved p0,ro reserved 2:0 squelch p101, rw reference v oltage for usb s quelch c ircuit 000 for reference voltage = 27.5mv 100 for reference voltage = 137.5mv (default) 111 for reference voltage = 220mv
DM9621A usb2.0 to fast ethernet controller final doc no: DM9621A-13-mco-ds-f01 june 30, 2015 27 4.44 usb address (96h) bit name default description 7:0 usb_adr p0,ro usb address 4.45 usb device address register (f0h) bit name default description 7 reserved 0,ro reserved 6:0 usbfa 0,ro usb device address 4.46 receive packet counter register (f1h) bit name default description 7:0 rxc 0,ro rxc is the packet counter received in sram 4.47 usb status register (f2h) bit name default description 7 rxfault 0,rc indicate rx has unexpected condition 6 susflag 0,rc indicate device has suspend condition 5 ep1rdy 0,ro indicate there are data ready for read from ep1 pipe 4 reserved 0,ro reserved 3 bofault 0,ro indicate bulk out has unexpected condition 2 txc2 0,ro represent there is full in transmit buffer 1 txc1 0,ro represent there is almost full in transmit buffer 0 txc0 0,ro represent there have packets in transmit buffer. 4.48 usb control register (f4h) bit name default description 7:6 reserved 0,rw reserved 5 ep3ack 0,rw when set and ep3_nak=0, ep3 will always return 8-byte data to host per interrupt-interval 4 ep3nak 0,rw when set, ep3 will always return nak. 3:1 reserved 0,rw reserved 0 memtst 0,rw before any memory-command, this bit must be set to 1. when in mem_tst, tx/rx fifo controller will be flushed.
DM9621A usb2.0 to fast ethernet controller final doc no: DM9621A-13-mco-ds-f01 june 30, 2015 28 5 eeprom format name word offset description mac address 0 0~5 6 byte ethernet address auto load control 3 6~7 if bit 1:0 = 01: update vendor id and product id if bit 3:2 = 01: reserved if bit 5:4 = 01: accept setting of word7[10] and word6 if bit 7:6 = 01: accept setting of word7[11,3:0] if bit 9:8 = 01: accept setting of word7[6:4] if bit 11:10 = 01: accept setting of word7[7] if bit 13:12 = 01: accept setting of word7[9:8] if bit 15:14 = 01: accept setting of word7[15:12], word11 vendor id 4 8~9 2 byte vendor id (default: 0a46h) product id 5 10~11 2 byte product id (default: 9621h) 802.3az control 6 12~13 bit 6:0 = load into register 3eh bit [6:0] bit 14:8 = load into register 3fh bit [6:0] bit 15 = load into register 3fh bit [7] wake-up mode control 7 14~15 bit 0:1 = wol active low when set (default: active high) bit 1:1 = wol is pulse mode (default: level mode) bit 2:1 = wakeup event enabled, load into register 0 bit 6. (default: no) bit 3 = reserved bit 4:1 = magic wakeup event enabled if usb in suspend state (default: no) bit 5:1 = link_change wakeup event enabled if usb in suspend state (default: no) bit 6 = reserved bit 7 = led mode 1 (default: 0) bit 8:1 = internal phy is enabled after power-on (default: no) bit 9:1 = ethernet phy in fiber mode (default: no) bit 10 = reserved bit 11:1 = wol smi event enable, to register 0fh bit 7 (default: no) bit 12:reserved, set to ?0? in application bit 13:reserved, set to ?0? in application bit 14:1 = enable mdix (default: yes) bit 15 = reserved, set to ?0? in application string1 address 8 16 vendor describe string start address string1 length 8 17 vendor describe string length string2 address 9 18 product describe string start address string2 length 9 19 product describe string length string3 address 10 20 product describe string start address string3 length 10 21 product describe string length usb control 11 22~23 bit 7:0 = usb maximum power. unit is 2ma., default 5ah bit 15:8 = usb class code ep3 interrupt interval 12 24 bit 3:0 ep3 interrupt interval, default 0bh
DM9621A usb2.0 to fast ethernet controller final doc no: DM9621A-13-mco-ds-f01 june 30, 2015 29 6 phy register description key to default in the register description that follows, the default column takes the form: : : 1 bit set to logic one ro = read only 0 bit set to logic zero rw = read/write x no default value (pin#) value latched in from pin # at reset : sc = self clearing p = value permanently set ll = latching low lh = latching high
DM9621A usb2.0 to fast ethernet controller final doc no: DM9621A-13-mco-ds-f01 june 30, 2015 30 6.1 basic mode control register (bmcr) ? 00h bit bit name default description 15 reset 0,rw/sc reset 1 = software reset 0 = normal operation this bit sets the status and controls the phy registers to their default states. this bit, which is self-clearing, will keep returning a value of one until the reset process is completed. 14 loopback 0,rw loopback loop-back control register 1 = loop-back enabled 0 = normal operation when in 100mbps operation mode, setting this bit may cause the descrambler to lose synchronization and produce a 1300ms "dead time" before any valid data appear at the mii receive outputs 13 speed selection 1,rw speed s elect 1 = 100mbps 0 = 10mbps link speed may be selected either by this bit or by auto-negotiation . when auto-negotiation is enabled and bit 12 is set, this bit will return auto-negotiation selected media type. 12 auto-negotiation enable 1,rw auto - n egotiation e nable 1 = auto-negotiation is enabled, bit 8 and 13 will be in auto-negotiation status 11 power down 0,rw power down while in the power-down state, the phy should respond to management transactions. during the transition to power- down state and while in the power-down state, the phy should not generate spurious signals on the mii. 1 = power down 0 = normal operation 10 isolate 0,rw isolate 1 = isolates (reserved) 0 = normal operation 9 restart auto-negotiation 0,rw/sc restart a uto - n egotiation 1 = restart auto-negotiation. re-initiates the auto-negotiation process. when auto-negotiation is disabled (bit 12 of this register cleared), this bit has no function and it should be cleared. this bit is self-clearing and it will keep returning a value of 1 until auto-negotiation is initiated by the phy. the operation of the auto-negotiation process will not be affected by the management entity that clears this bit 0 = normal operation 8 duplex dode 1,rw duplex mode 1 = full-duplex operation. duplex selection is allowed when auto-negotiation is disabled (bit 12 of this register is cleared). with auto-negotiation enabled, this bit reflects the duplex capability selected by auto-negotiation 0 = normal operation
DM9621A usb2.0 to fast ethernet controller final doc no: DM9621A-13-mco-ds-f01 june 30, 2015 31 7 collision test 0,rw collision t est 1 = collision test enabled. when set, this bit will cause the col signal to be asserted in response to the assertion of tx_en 0 = normal operation 6:0 reserved 0,ro reserved write as 0, ignore on read 6.2 basic mode status register (bmsr) ? 01h bit bit name default description 15 100base-t4 0,ro/p 100base - t4 c apable 1 = able to perform in 100base-t4 mode 0 = not able to perform in 100base-t4 mode 14 100base-tx full-duplex 1,ro/p 100base - tx f ull - d uplex c apable 1 = able to perform 100base-tx in full-duplex mode 0 = not able to perform 100base-tx in full-duplex mode 13 100base-tx half-duplex 1,ro/p 100base - tx h alf - d uplex c apable 1 = able to perform 100base-tx in half-duplex mode 0 = not able to perform 100base-tx in half-duplex mode 12 10base-t full-duplex 1,ro/p 10base - t f ull - d uplex c apable 1 = able to perform 10base-t in full-duplex mode 0 = not able to perform 10base-tx in full-duplex mode 11 10base-t half-duplex 1,ro/p 10base - t h alf - d uplex c apable 1 = able to perform 10base-t in half-duplex mode 0 = not able to perform 10base-t in half-duplex mode 10:7 reserved 0,ro reserved write as 0, ignore on read 6 mf preamble suppression 0,ro mii f rame p reamble s uppression 1 = phy will accept management frames with preamble suppressed 0 = phy will not accept management frames with preamble suppressed 5 auto-negotiation complete 0,ro auto - n egotiation c omplete 1 = auto-negotiation process completed 0 = auto-negotiation process not completed 4 remote fault 0,ro/lh remote f ault 1 = remote fault condition detected (cleared on read or by a chip reset). fault criteria and detection method is phy implementation specific. this bit will set after the rf bit in the anlpar (bit 13, register address 05) is set 0 = no remote fault condition detected 3 auto-negotiation ability 1,ro/p auto c onfig uration a bility 1 = able to perform auto-negotiation 0 = not able to perform auto-negotiation 2 link status 0,ro/ll link s tatus 1 = valid link is established (for either 10mbps or 100mbps operation) 0 = link is not established the link status bit is implemented with a latching function, so that the occurrence of a link failure condition causes the link status bit to be cleared and remain cleared until it is read via the management interface
DM9621A usb2.0 to fast ethernet controller final doc no: DM9621A-13-mco-ds-f01 june 30, 2015 32 1 jabber detect 0,ro/lh jabber d etect 1 = jabber condition detected 0 = no jabber this bit is implemented with a latching function. jabber conditions will set this bit unless it is cleared by a read to this register through a management interface or a phy reset. this bit works only in 10mbps mode 0 extended capability 1,ro/p extended c apability 1 = extended register capable 0 = basic register capable only 6.3 phy id identifier register #1 (phyid1) ? 02h the phy identifier registers #1 and #2 work together in a single identifier of the DM9621A. the identifier consists of a concatenation of the organizationally unique identifier (oui), a vendor's model number, and a model revision number. davicom semiconductor's ieee assigned oui is 00606e. bit bit name default description 15:0 oui_msb <0181h> oui m ost s ignificant b its this register stores bit 3 to 18 of the oui (00606e) to bit 15 to 0 of this register respectively. the most significant two bits of the oui are ignored (the ieee standard refers to these as bit 1 and 2) 6.4 phy identifier register #2 (phyid2) ? 03h bit bit name default description 15:10 oui_lsb <101110>, ro/p oui l east s ignificant b its bit 19 to 24 of the oui (00606e) are mapped to bit 15 to 10 of this register respectively 9:4 vndr_mdl <001010>, ro/p vendor m odel n umber six bits of vendor model number mapped to bit 9 to 4 (most significant bit to bit 9) 3:0 mdl_rev <0000>, ro/p model r evision n umber four bits of vendor model revision number mapped to bit 3 to 0 (most significant bit to bit 3)
DM9621A usb2.0 to fast ethernet controller final doc no: DM9621A-13-mco-ds-f01 june 30, 2015 33 6.5 auto-negotiation advertisement register(anar) ? 04h this register contains the advertised abilities of this DM9621A device as they will be transmitted to its link partner during auto-negotiation. bit bit name default description 15 np 0,ro/p next p age i ndication 1 = next page available 0 = no next page available the phy has no next page, so this bit is permanently set to 0 14 ack 0,ro acknowledge 1 = link partner ability data reception acknowledged 0 = not acknowledged the phy's auto-negotiation state machine will automatically control this bit in the outgoing flp bursts and set it at the appropriate time during the auto-negotiation process. software should not attempt to write to this bit. 13 rf 0,rw remote f ault 1 = local device senses a fault condition 0 = no fault detected 12:11 reserved x,rw reserved write as 0, ignore on read 10 fcs 0,rw flow c ontrol s upport 1 = controller chip supports flow control ability 0 = controller chip doesn?t support flow control ability 9 t4 0,ro/p 100base - t4 s upport 1 = 100base-t4 is supported by the local device 0 = 100base-t4 is not supported the phy does not support 100base-t4 so this bit is permanently set to 0 8 tx_fdx 1,rw 100base - tx f ull - d uplex s upport 1 = 100base-tx full-duplex is supported by the local device 0 = 100base-tx full-duplex is not supported 7 tx_hdx 1,rw 100base - tx s upport 1 = 100base-tx is supported by the local device 0 = 100base-tx is not supported 6 10_fdx 1,rw 10base - t f ull - d uplex s upport 1 = 10base-t full-duplex is supported by the local device 0 = 10base-t full-duplex is not supported 5 10_hdx 1,rw 10base - t s upport 1 = 10base-t is supported by the local device 0 = 10base-t is not supported 4:0 selector <00001>,rw protocol s election b its these bits contain the binary encoded protocol selector supported by this node. <00001> indicates that this device supports ieee 802.3 csma/cd.
DM9621A usb2.0 to fast ethernet controller final doc no: DM9621A-13-mco-ds-f01 june 30, 2015 34 6.6 auto-negotiation link partner ability register (anlpar) ? 05h bit bit name default description 15 np 0,ro next p age i ndication 0 = link partner, no next page available 1 = link partner, next page available 14 ack 0,ro acknowledge 1 = link partner ability data reception acknowledged 0 = not acknowledged the phy's auto-negotiation state machine will automatically control this bit from the incoming flp bursts. software should not attempt to write to this bit. 13 rf 0,ro remote fault 1 = remote fault indicated by link partner 0 = no remote fault indicated by link partner 12:11 reserved x,ro reserved write as 0, ignore on read 10 fcs 0,rw flow c ontrol s upport 1 = controller chip supports flow control ability by link partner 0 = controller chip doesn?t support flow control ability by link partner 9 t4 0,ro 100base - t4 s upport 1 = 100base-t4 is supported by the link partner 0 = 100base-t4 is not supported by the link partner 8 tx_fdx 0,ro 100base - tx f ull - d uplex s upport 1 = 100base-tx full-duplex is supported by the link partner 0 = 100base-tx full-duplex is not supported by the link partner 7 tx_hdx 0,ro 100base - tx s upport 1 = 100base-tx half-duplex is supported by the link partner 0 = 100base-tx half-duplex is not supported by the link partner 6 10_fdx 0,ro 10base - t f ull - d uplex s upport 1 = 10base-t full-duplex is supported by the link partner 0 = 10base-t full-duplex is not supported by the link partner 5 10_hdx 0,ro 10base - t s upport 1 = 10base-t half-duplex is supported by the link partner 0 = 10base-t half-duplex is not supported by the link partner 4:0 selector <00000>,ro protocol s election b its link partner?s binary encoded protocol selector
DM9621A usb2.0 to fast ethernet controller final doc no: DM9621A-13-mco-ds-f01 june 30, 2015 35 6.7 auto-negotiation expansion register (aner)- 06h bit bit name default description 15:5 reserved x,ro reserved write as 0, ignore on read 4 pdf 0,ro/lh local d evice parallel d etection f ault 1 = a fault detected via parallel detection function. 0 = no fault detected via parallel detection function 3 lp_np_able 0,ro link p artner n ext p age a ble 1 = link partner, next page available 0 = link partner, no next page 2 np_able 0,ro/p local d evice next p age a ble 1 = next page available 0 = no next page 1 page_rx 0,ro/lh new p age r eceived a new link code word page received. this bit will be automatically cleared when the register (register 6) is read by management. 0 lp_an_able 0,ro link p artner a uto - n egotiation a ble a ?1? in this bit indicates that the link partner supports auto-negotiation.
DM9621A usb2.0 to fast ethernet controller final doc no: DM9621A-13-mco-ds-f01 june 30, 2015 36 6.8 davicom specified configuration register (dscr) ? 10h bit bit name default description 15 bp_4b5b 0,rw bypass 4b5b e ncoding and 5b4b d ecoding 1 = 4b5b encoder and 5b4b decoder function bypassed 0 = normal 4b5b and 5b4b operation 14 bp_scr 0,rw bypass s crambler/ d escrambler f unction 1 = scrambler and descrambler function bypassed 0 = normal scrambler and descrambler operation 13 bp_align 0,rw bypass s ymbol a lignment f unction 1 = receive functions (descrambler, symbol alignment and symbol decoding functions) bypassed. transmit functions (symbol encoder and scrambler) bypassed 0 = normal operation 12 bp_adpok 0,rw bypass adpok force signal detector (sd) active. this register is for debug only, not release to customer. 1=force sd is ok 0=normal operation 11 reserved 0,ro reserved write as 0, ignore on read. 10 tx 1,rw 100base - tx or fx m ode c ontrol 1 = 100base-tx operation 0 = 100base-fx operation 9 reserved 0,ro reserved 8 reserved 0,ro reserved write as 0, ignore on read. 7 f_link_100 0,rw force good link in 100mbps 1 = force 100mbps good link status 0 = normal 100mbps operation this bit is useful for diagnostic purposes. 6 reserved 0,ro reserved: write as 0, ignore on read. 5 reserved 0,ro reserved: write as 0, ignore on read. 4 rpdctr-en 1,rw re duced p ower d own c ontrol e nable this bit is used to enable automatic reduced power down. 1 = enable automatic reduced power down 0 = disable automatic reduced power down. 3 smrst 0,rw reset s tate m achine when writes 1 to this bit, all state machines of phy will be reset. this bit is self-clear after reset is completed. 2 mfpsc 1,rw mf p reamble s uppression control mii frame preamble suppression control bit 1 = mf preamble suppression bit on 0 = mf preamble suppression bit off 1 sleep 0,rw sleep m ode writing a 1 to this bit will cause phy entering the sleep mode and power down all circuit except oscillator and clock generator circuit. when waking up from sleep mode (write this bit to 0), the configuration will go back to the state before sleep; but the state machine will be reset. 0 reserved 0,rw reserved force to 0 in application.
DM9621A usb2.0 to fast ethernet controller final doc no: DM9621A-13-mco-ds-f01 june 30, 2015 37 6.9 davicom specified configuration and status register (dscsr) ? 11h bit bit name default description 15 100fdx 1,ro 100m f ull - d uplex o peration m ode after auto-n egotiation is completed, results will be written to this bit. if this bit is 1, it means the operation 1 mode is a 100m full-duplex mode. the software can read bit[15:12] to see which mode is selected after auto-negotiation. this bit is invalid when it is not in the auto-negotiation mode. 14 100hdx 1,ro 100m h alf - d uplex operation m ode after auto-negotiation is completed, results will be written to this bit. if this bit is 1, it means the operation 1 mode is a 100m half-duplex mode. the software can read bit[15:12] to see which mode is selected after auto-negotiation. this bit is invalid when it is not in the auto-negotiation mode. 13 10fdx 1,ro 10m f ull - d uplex o peratio n m ode after auto-negotiation is completed, results will be written to this bit. if this bit is 1, it means the operation 1 mode is a 10m full-duplex mode. the software can read bit[15:12] to see which mode is selected after auto-negotiation. this bit is invalid when it is not in the auto-negotiation mode. 12 10hdx 1,ro 10m h alf - d uplex o peration m ode after auto-negotiation is completed, results will be written to this bit. if this bit is 1, it means the operation 1 mode is a 10m half-duplex mode. the software can read bit[15:12] to see which mode is selected after auto-negotiation. this bit is invalid when it is not in the auto-negotiation mode. 11:9 reserved 0,ro reserved write as 0, ignore on read. 8:4 phyadr[4:0] (phyadr), rw phy a ddress bit 4:0 the first phy address bit transmitted or received is the msb of the address (bit 4). a station management entity connected to multiple phy entities must know the appropriate address of each phy. 3:0 anmb[3:0] 0,ro auto - negotiation m onitor b its: these bits are for debug only. the auto-negotiation status will be written to these bits. b3 b2 b1 b0 0 0 0 0 in idle state 0 0 0 1 ability match 0 0 1 0 acknowledge match 0 0 1 1 acknowledge match fail 0 1 0 0 consistency match 0 1 0 1 consistency match fail 0 1 1 0 parallel detects signal_link_ready 0 1 1 1 parallel detects signal_link_ready fail 1 0 0 0 auto-negotiation completed successfully
DM9621A usb2.0 to fast ethernet controller final doc no: DM9621A-13-mco-ds-f01 june 30, 2015 38 6.10 10base-t configuration/status (10btcsr) ? 12h bit bit name default description 15 reserved 0,ro reserved write as 0, ignore on read. 14 lp_en 1,rw link p ulse enable 1 = transmission of link pulses enabled 0 = link pulses disabled, good link condition forced this bit is valid only in 10mbps operation. 13 hbe 1,rw heartbeat e nable 1 = heartbeat function enabled 0 = heartbeat function disabled when the phy is configured for full-duplex operation, this bit will be ignored (the collision/heartbeat function is invalid in full-duplex mode). 12 squelch 1,rw squelch e nable 1 = normal squelch 0 = low squelch 11 jaben 1,rw jabber enable enables or disables the jabber function when the phy is in 10base-t full-duplex or 10base-t transceiver loopback mode 1 = jabber function enabled 0 = jabber function disabled 10:1 reserved 0,ro reserved write as 0, ignore on read. 0 polr 0,ro polarity r eversed when this bit is set to 1, it indicates that the 10mbps cable polarity is reversed. this bit is set and cleared by 10base-t module automatically. 6.11 power down control register (pwdor) ? 13h bit bit name default description 15:9 reserved 0, ro reserved read as 0, ignore on write 8 pd10drv 0, rw vendor power down control test 7 pd100dl 0, rw vendor power down control test 6 pdchip 0, rw vendor power down control test 5 pdcom 0, rw vendor power down control test 4 pdaeq 0, rw vendor power down control test 3 pddrv 0, rw vendor power down control test 2 pdedi 0, rw vendor power down control test 1 pdedo 0, rw vendor power down control test 0 pd10 0, rw vendor power down control test * when selected, the power down value is control by register 14h
DM9621A usb2.0 to fast ethernet controller final doc no: DM9621A-13-mco-ds-f01 june 30, 2015 39 6.12 (specified config) register ? 14h bit bit name default description 15 tstse1 0,rw vendor test select control 14 tstse2 0,rw vendor test select control 13 force_txsd 0,rw force signal detect 1 = force sd signal ok in 100m 0 = normal sd signal. 12 force_fef 0,rw vendor test select control 11 preamblex 1,rw preamble saving control 1 = transmit preamble bit count is normal in 10base-t mode 0 = when bit 10 is set, the 10base-t transmit preamble count is reduced. when bit 11 of register 1dh is set, 12-bit preamble is reduced; otherwise 22-bit preamble is reduced. 10 tx10m_pwr 1,rw 10base - t m ode transmit power saving control 1 = enable transmit power saving in 10base-t mode 0 = disable transmit power saving in 10base-t mode 9 nway_pwr 0,rw auto - n egotiation power saving control 1 = disable power saving during auto-negotiation period 0 = enable power saving during auto-negotiation period 8 reserved 0,rw reserved 7 mdix_cntl mdi/mdix,ro the p olarity of mdi/mdix v alue 1 = mdix mode 0 = mdi mode 6 autoneg_lpbk 0,rw auto - n egotiation loop - back 1 = test internal digital auto-negotiation loop-back 0 = normal 5 mdix_fix value 0, rw mdix_cntl f orce v alue when mdix_down = 1, mdix_cntl value depend on the register value. 4 mdix_do wn 0,rw mdix down manual force mdi/mdix. 1 = disable hp auto-mdix, mdix_cntl value depend on 14h bit 5 0 = enable hp auto-mdix 3 monsel1 0,rw vendor monitor select 2 monsel0 0,rw vendor monitor select 1 reserved 0,rw reserved force to 0, in application. 0 pd_value 0,rw power d own c ontrol v alue decision the value of each field register 13h 1 = power down 0 = normal
DM9621A usb2.0 to fast ethernet controller final doc no: DM9621A-13-mco-ds-f01 june 30, 2015 40 6.13 dsp control (dsp_ctrl) ? 1bh bit bit name default description 15:0 dsp_ctrl 0,rw dsp c ontrol for internal testing only 6.14 power saving control register (pscr) ? 1dh bit bit name default description 15:13 reserved 0,ro reserved 12 lpi 0,ro low power idle mode 11 preamblex 0,rw preamble saving control when both bit 10and 11 of register 14h are set, the 10base- t transmit preamble count is reduced. 1 = 12-bit preamble is reduced. 0 = 22-bit preamble is reduced. 10 amplitude 0,rw transmit amplitude control disabled 1 = when cable is unconnected with link partner, the tx amplitude is reduced for power saving. 0 = disable transmit amplitude reduce function 9 tx_pwr 0,rw transmit power saving control disabled 1 = when cable is unconnected with link partner, the driving current of transmit is reduced for power saving. 0 = disable transmit driving power saving function 8:0 reserved 0,ro reserved
DM9621A usb2.0 to fast ethernet controller final doc no: DM9621A-13-mco-ds-f01 june 30, 2015 41 7 functional description 7.1 usb functional description 7.1.1 usb functional description 1. support standard command setup stage data stage bmreqtype brequest wvalue windex wlength data 00000000b clear_feature feature selector zero zero none 00000001b interface 00000010b endpoint 10000000b get_configuration zero zero one configuration value 10000000b get_descriptor descriptor type/index zero/lid length descriptor 10000001b get_interface zero interface one alternate interface 10000000b get_status zero zero two status 10000001b interface 10000010b endpoint 00000000b set_address device address zero zero none 00000000b set_configuration configuration value zero zero none 00000000b set_descriptor descriptor type/index zero/lid length descriptor 00000000b set_feature feature selector zero zero none 00000001b interface 00000010b endpoint 00000001b set_interface alternate setting interface zero none 10000010b synch_frame zero endpoint two frame number 2. not supported standard commands l clear_feature (interface) l set_feature (interface) l set_descriptor ( ) l sync_frame ( )
DM9621A usb2.0 to fast ethernet controller final doc no: DM9621A-13-mco-ds-f01 june 30, 2015 42 7.1.2 vender commands there are two types of vendor?s command. we can access internal register maximum 64 bytes, and can access internal memory. 7.1.2.1 register type read_register ( ) setup stage bmreqtype breq wvalue windex wlength byte 0 byte 1 byte 2 byte 3 byte 4 byte 5 byte 6 byte 7 c0h 00h 00h 00h regoffset[7:0] 00h bc[7:0] 00h write_register ( ) setup stage bmreqtype breq wvalue windex wlength byte 0 byte 1 byte 2 byte 3 byte 4 byte 5 byte 6 byte 7 40h 01h 00h 00h regoffset[7:0] 00h bc[7:0] 00h write1_register ( ) setup stage bmreqtype breq wvalue windex wlength byte 0 byte 1 byte 2 byte 3 byte 4 byte 5 byte 6 byte 7 40h 03h data[7:0] 00h regoffset[7:0] 00h 0000h 40h 7.1.2.2 memory type these kind of commands are valid when the bit ?mem_mode ? is set, otherwise device will respond with request error when receiving these commands. read_memory ( ) setup stage bmreqtype breq wvalue windex wlength byte 0 byte 1 byte 2 byte 3 byte 4 byte 5 byte 6 byte 7 c0h 02h 00h 00h memoff[7:0] memoff[15:8] bc[7:0] 00h write_memory ( ) setup stage bmreqtype breq wvalue windex wlength byte 0 byte 1 byte 2 byte 3 byte 4 byte 5 byte 6 byte 7 c0h 02h 00h 00h memoff[7:0] memoff[15:8] bc[7:0] 00h write1_memory ( ) setup stage bmreqtype breq wvalue windex wlength byte 0 byte 1 byte 2 byte 3 byte 4 byte 5 byte 6 byte 7 40h 07h data[7:0 ] 00h memoff[7:0] memoff[15:8] 0000h 40h
DM9621A usb2.0 to fast ethernet controller final doc no: DM9621A-13-mco-ds-f01 june 30, 2015 43 7.1.3 interface 0 configuration definition: len-byte is 64-byte in full speed mode and 256-byte in high speed mode. 7.1.3.1 endpoint 1 type: bulk in packet padload: len-byte when host accessing ep1. if in-fifo is full, device will send len-byte data. if in-fifo isn?t full and ethernet packet isn?t end, device will send a nak. if in-fifo isn?t full and ethernet packet is end, device will send the surplus data in in-fifo. data format for 3-byte header mode (when register 91h bit 7 is ?0?) fist byte ethernet receive packet status, the bit format is same as register 6 (rsr) second byte ethernet receive packet byte count low third byte ethernet receive packet byte count high the others ethernet receive packet data for 4-byte header mode (when register 91h bit 7 is ?1? or pin gpio2_2 is pull-high) fist byte ethernet receive packet checksum status, the bit[7:2] format is same as register 32h (rcscsr) second byte ethernet receive packet status, the bit format is same as register 6 (rsr) third byte ethernet receive packet byte count low fourth byte ethernet receive packet byte count high the others ethernet receive packet data 7.1.3.2 endpoint 2 type: bulk out packet padload: len-byte when host accessing ep2. if out-fifo isn?t full, host sends data, device response ack. if out-fifo is full, host sends data, device response nak. if host sends data less len-byte or zero byte, it means ethernet packet end. data format fist byte ethernet transmit packet byte count low second byte ethernet transmit packet byte count high the others ethernet transmit packet data
DM9621A usb2.0 to fast ethernet controller final doc no: DM9621A-13-mco-ds-f01 june 30, 2015 44 7.1.3.3 endpoint 3 type: interrupt in packet load: 8-byte when host accessing ep3. if no interrupt condition, device response nak. if interrupt condition, device will send content back to host. data format offset name description byte 0 nsr network status register byte 1 tsr1 reserved byte 2 tsr2 reserved byte 3 rsr rx status register byte 4 rocr received overflow counter register byte 5 rxc received packet counter byte 6 txc transmit packet counter byte 7 gpr reserved
DM9621A usb2.0 to fast ethernet controller final doc no: DM9621A-13-mco-ds-f01 june 30, 2015 45 7.1.4 descriptor values all descriptors are stored in its default values. values which are ??? in the table below are under define. device descriptor/18-byte offset field size value description 0 blength 1 12h size of descriptor in bytes 1 bdescriptortype 1 01h device descriptor type 2 bcdusb 2 0200h usb bcd version 4 bdeviceclass 1 00h class code, assign by usb zero: no device level class 01h~feh : valid device class ffh : vender-specific 5 bdevicesubclass 1 00h subclass code, assign by usb 6 bdeviceprotocol 1 00h protocol code, assign by usb 7 bmaxpacketsize0 1 08h maximum pl for ep0(8,16,32,64) 8 idvender 2 0a46h vendor id(0a46) (fm eep) 10 idproduce 2 9621h product id 9621h, rx header is 4-byte mode 12 bcddevice 2 0101h device release number 14 imanufacturer 1 01h index of string descriptor for manufacturer 15 iproduct 1 02h index of string descriptor for product 16 iserialnumber 1 03h index of string descriptors for serial number 17 bnumconfigurations 1 01h number of configurations configuration0 descriptor/9-byte offset field size value description 0 blength 1 09h size of descriptors 1 bdescriptortype 1 02h configuration descriptor type 2 wtotallength 2 0027h total descriptor length 4 bnuminterfaces 1 01h number of interfaces 5 bconfigurationvalue 1 01h value of this configuration 6 iconfiguration 1 00h index of string descriptor for configuration 7 bmattributes 1 a(8)0h configuration characteristics d7:reserved (set to 1) d6: self-powered d5: remote wakeup 1 = if reg00h bit 6 is ?1? 0 = if reg00h bit 6 is ?0? d4: reserved ( reset to 0) 8 maxpower 1 3ch maximum power, 2ma units (fm eep) interface0 descriptor/9-byte offset field size value description 0 blength 1 09h size of this descriptor 1 bdescriptortype 1 04h interface descriptor type 2 binterfacenumber 1 00h number of interface 3 balternatesetting 1 00h value used to select alternate setting 4 bnumendpoints 1 03h number of ednpoints 5 binterfaceclass 1 00h class code 6 binterfacesubclass 1 00h sunclass code 7 binterfaceprotocol 1 00h protocol code 8 iinterface 1 00h index of string for this interface
DM9621A usb2.0 to fast ethernet controller final doc no: DM9621A-13-mco-ds-f01 june 30, 2015 46 endpoint1 descriptor/6-byte offset field size value description 0 blength 1 07h size of this descriptor 1 bdescriptortype 1 05h endpoint descriptor type 2 bendpointaddress 1 81h address of the endpoint bit3~0: the endpoint number bit 6~4: reserved(0) bit7 : direction(control ep exclude) 1 = in endpoint 0 = out endpoint 3 bmattributes 1 02h ep's attributes bit1~0: transfer type 00 = control 01 = isochronous 10 = bulk 11 = interrupt 4 wmaxpacketsize 2 0040h maximum packet size of this ep (0200h for high speed) 6 binterval 1 00h interval for polling (periodical pipe) (fm eep) interrupt tpye = 1 ~ 255 (ms) isochronoous type = 1 (ms) endpoint 2 descriptor/6-byte offset field size value description 0 blength 1 07h size of this descriptor 1 bdescriptortype 1 05h endpoint descriptor type 2 bendpointaddress 1 02h address of the endpoint bit3~0: the endpoint number bit 6~4: reserved(0) bit7: direction(control ep exclude) 1 = in endpoint 0 = out endpoint 3 bmattributes 1 02h ep's attributes bit1~0: transfer type 00 = control 01 = isochronous 10 = bulk 11 = interrupt 4 wmaxpacketsize 2 0040h maximum packet size of this ep (0200h for high speed) 6 binterval 1 00h interval for polling (periodical pipe) (fm eep) interrupt tpye = 1 ~ 255 (ms) isochronoous type = 1 (ms)
DM9621A usb2.0 to fast ethernet controller final doc no: DM9621A-13-mco-ds-f01 june 30, 2015 47 endpoint3 descriptor/6-byte offset field size value description 0 blength 1 07h size of this descriptor 1 bdescriptortype 1 05h endpoint descriptor type 2 bendpointaddress 1 83h address of the endpoint bit3~0: the endpoint number bit 6~4: reserved(0) bit7: direction(control ep exclude) 1 = in endpoint 0 = out endpoint 3 bmattributes 1 03h ep's attributes bit1~0: transfer type 00 = control 01 = isochronous 10 = bulk 11 = interrupt 4 wmaxpacketsize 2 0008h maximum packet size of this ep 6 binterval 1 01h interval for polling (periodical pipe) interrupt tpye = 1 ~ 255 (ms) isochronoous type = 1 (ms) string0 descriptor/code array offset field size value description 0 blength 1 04h size of this descriptor 1 bdescriptortype 1 03h string descriptor type 2 wlangid[1] 2 0409h langid code(eng.)
DM9621A usb2.0 to fast ethernet controller final doc no: DM9621A-13-mco-ds-f01 june 30, 2015 48 7.1.5 descriptors of string/1/2/3 are loaded from eeprom string1 descriptor/unicode string offset field size value description 0 blength 1 descriptor length loading from eeprom 1 bdescriptortype 1 03h string descriptor type 2~ bstring n manufacture string2 descriptor/unicode string offset field size value description 0 blength 1 descriptor length loading from eeprom 1 bdescriptortype 1 03h string descriptor type 2~ bstring n product string3 descriptor/unicode string offset field size value description 0 blength 1 descriptor length loading from eeprom 1 bdescriptortype 1 03h string descriptor type 2~ bstring n serial number 7.1.6 descriptors of string/1/2/3 if no eeprom exist string1 descriptor/unicode string offset field size value description 0 blength 1 04h descriptor length 1 bdescriptortype 1 03h string descriptor type 2~ bstring 2 0020h manufacture string2 descriptor/unicode string offset field size value description 0 blength 1 10h descriptor length 1 bdescriptortype 1 03h string descriptor type 2~ bstring 14 55 00 53 00 42 00 20 00 45 00 74 00 68 00 string3 descriptor/unicode string offset field size value description 0 blength 1 04h descriptor length 1 bdescriptortype 1 03h string descriptor type 2~ bstring 2 0031h serial number
DM9621A usb2.0 to fast ethernet controller final doc no: DM9621A-13-mco-ds-f01 june 30, 2015 49 7.2 ethernet functional description 7.2.1 serial management interface mdc mdio DM9621A phy mdc mdio external phy can be accessed via the mdc, mdio mii smi smi - read frame structure 32 "1"s 0 1 1 0 a1 a0 r7 r6 r5 r0 z 0 idle preamble sfd op code device address register address turn around data idle read write smi_c smi_d read d15 d14 d1 d0 // // smi_r_8203 smi - write frame structure 32 "1"s 0 1 1 0 a1 a0 r7 r6 r5 r0 1 0 d15 d14 d1 d0 idle preamble sfd op code device address register address turn around data idle write smi_c smi_d write smi_w_8203
DM9621A usb2.0 to fast ethernet controller final doc no: DM9621A-13-mco-ds-f01 june 30, 2015 50 7.2.2 100base-tx operation the block diagram in figure 3 provides an overview of the functional blocks contained in the transmit section. the transmitter section contains the following functional blocks: - 4b5b encoder - scrambler - parallel to serial converter - nrz to nrzi converter - nrzi to mlt-3 - mlt-3 driver 7.2.3 4b5b encoder the 4b5b encoder converts 4-bit (4b) nibble data generated by the mac reconciliation layer into a 5-bit (5b) code group for transmission, reference table 1. this conversion is required for control and packet data to be combined in code groups. the 4b5b encoder substitutes the first 8 bits of the mac preamble with a j/k code-group pair (11000 10001) upon transmit. the 4b5b encoder continues to replace subsequent 4b preamble and data nibbles with corresponding 5b code-groups. at the end of the transmit packet, upon the deassertion of the transmit enable signal from the mac reconciliation layer, the 4b5b encoder injects the t/r code-group pair (01101 00111) indicating end of frame. after the t/r code-group pair, the 4b5b encoder continuously injects idles into the transmit data stream until transmit enable is asserted and the next transmit packet is detected. the DM9621A includes a bypass 4b5b conversion option within the 100base-tx transmitter for support of applications like 100 mbps repeaters which do not require 4b5b conversion. 7.2.4 scrambler the scrambler is required to control the radiated emissions (emi) by spreading the transmit energy across the frequency spectrum at the media connector and on the twisted pair cable in 100base-tx operation. by scrambling the data, the total energy presented to the cable is randomly distributed over a wide frequency range. without the scrambler, energy levels on the cable could peak beyond fcc limitations at frequencies related to repeated 5b sequences like continuous transmission of idle symbols. the scrambler output is combined with the nrz 5b data from the code-group encoder via an xor logic function. the result is a scrambled data stream with sufficient randomization to decrease radiated emissions at critical frequencies. 7.2.5 parallel to serial converter the parallel to serial converter receives parallel 5b scrambled data from the scrambler and serializes it (converts it from a parallel to a serial data stream). the serialized data stream is then presented to the nrz to nrzi encoder block. 7.2.6 nrz to nrzi encoder after the transmit data stream has been scrambled and serialized, the data must be nrzi encoded for compatibility with the tp-pmd standard for 100base-tx transmission over category-5 unshielded twisted pair cable. 7.2.7 mlt-3 converter the mlt-3 conversion is accomplished by converting the data stream output from the nrzi encoder into two binary data streams with alternately phased logic one events.
DM9621A usb2.0 to fast ethernet controller final doc no: DM9621A-13-mco-ds-f01 june 30, 2015 51 7.2.8 mlt-3 driver the two binary data streams created at the mlt-3 converter are fed to the twisted pair output driver which converts these streams to current sources and alternately drives either side of the transmit transformer primary winding resulting in a minimal current mlt-3 signal. refer to figure 4 for the block diagram of the mlt-3 converter. 7.2.9 4b5b code group symbol meaning 4b code 3210 5b code 43210 0 data 0 0000 11110 1 data 1 0001 01001 2 data 2 0010 10100 3 data 3 0011 10101 4 data 4 0100 01010 5 data 5 0101 01011 6 data 6 0110 01110 7 data 7 0111 01111 8 data 8 1000 10010 9 data 9 1001 10011 a data a 1010 10110 b data b 1011 10111 c data c 1100 11010 d data d 1101 11011 e data e 1110 11100 f data f 1111 11101 i idle undefined 11111 j sfd (1) 0101 11000 k sfd (2) 0101 10001 t esd (1) undefined 01101 r esd (2) undefined 00111 h error undefined 00100 v invalid undefined 00000 v invalid undefined 00001 v invalid undefined 00010 v invalid undefined 00011 v invalid undefined 00101 v invalid undefined 00110 v invalid undefined 01000 v invalid undefined 01100 v invalid undefined 10000 v invalid undefined 11001 table 1
DM9621A usb2.0 to fast ethernet controller final doc no: DM9621A-13-mco-ds-f01 june 30, 2015 52 7.2.10 100base-tx receiver the 100base-tx receiver contains several function blocks that convert the scrambled 125mb/s serial data to synchronous 4-bit nibble data that is then provided to the mii. the receive section contains the following functional blocks: - signal detect - digital adaptive equalization - mlt-3 to binary decoder - clock recovery module - nrzi to nrz decoder - serial to parallel - descrambler - code group alignment - 4b5b decoder 7.2.11 signal detect the signal detect function meets the specifications mandated by the ansi xt12 tp-pmd 100base-tx standards for both voltage thresholds and timing parameters. 7.2.12 adaptive equalization when transmitting data at high speeds over copper twisted pair cable, attenuation based on frequency becomes a concern. in high speed twisted pair signaling, the frequency content of the transmitted signal can vary greatly during normal operation based on the randomness of the scrambled data stream. this variation in signal attenuation caused by frequency variations must be compensated for to ensure the integrity of the received data. in order to ensure quality transmission when employing mlt-3 encoding, the compensation must be able to adapt to various cable lengths and cable types depending on the installed environment. the selection of long cable lengths for a given implementation, requires significant compensation which will be over-kill in a situation that includes shorter, less attenuating cable lengths. conversely, the selection of short or intermediate cable lengths requiring less compensation will cause serious under-compensation for longer length cables. therefore, the compensation or equalization must be adaptive to ensure proper conditioning of the received signal independent of the cable length. 7.2.13 mlt-3 to nrzi decoder the DM9621A decodes the mlt-3 information from the digital adaptive equalizer into nrzi data. the relationship between nrzi and mlt-3 data is shown in figure 4. 7.2.14 clock recovery module the clock recovery module accepts nrzi data from the mlt-3 to nrzi decoder. the clock recovery module locks onto the data stream and extracts the 125mhz reference clock. the extracted and synchronized clock and data are presented to the nrzi to nrz decoder. 7.2.15 nrzi to nrz the transmit data stream is required to be nrzi encoded in for compatibility with the tp-pmd standard for 100base-tx transmission over category-5 unshielded twisted pair cable. this conversion process must be reversed on the receive end. the nrzi to nrz decoder, receives the nrzi data stream from the clock recovery module and converts it to a nrz data stream to be presented to the serial to parallel conversion block.
DM9621A usb2.0 to fast ethernet controller final doc no: DM9621A-13-mco-ds-f01 june 30, 2015 53 7.2.16 serial to parallel the serial to parallel converter receives a serial data stream from the nrzi to nrz converter, and converts the data stream to parallel data to be presented to the descrambler. 7.2.17 descrambler because of the scrambling process required to control the radiated emissions of transmit data streams, the receiver must descramble the receive data streams. the descrambler receives scrambled parallel data streams from the serial to parallel converter, descrambles the data streams, and presents the data streams to the code group alignment block. 7.2.18 code group alignment the code group alignment block receives un-aligned 5b data from the descrambler and converts it into 5b code group data. code group alignment occurs after the j/k is detected, and subsequent data is aligned on a fixed boundary. 7.2.19 4b5b decoder the 4b5b decoder functions as a look-up table that translates incoming 5b code groups into 4b (nibble) data. when receiving a frame, the first 2 5-bit code groups received are the start-of-frame delimiter (j/k symbols). the j/k symbol pair is stripped and two nibbles of preamble pattern are substituted. the last two code groups are the end-of-frame delimiter (t/r symbols). the t/r symbol pair is also stripped from the nibble presented to the reconciliation layer. 7.2.20 10base-t operation the 10base-t transceiver is ieee 802.3u compliant. when the DM9621A is operating in 10base-t mode, the coding scheme is manchester. data processed for transmit is presented to the mii interface in nibble format, converted to a serial bit stream, then manchester encoded. when receiving, the manchester encoded bit stream is decoded and converted into nibble format for presentation to the mii interface. 7.2.21 collision detection for half-duplex operation, a collision is detected when the transmit and receive channels are active simultaneously. when a collision has been detected, it will be reported by the col signal on the mii interface. collision detection is disabled in full-duplex operation. 7.2.22 carrier sense carrier sense (crs) is asserted in half-duplex operation during transmission or reception of data. during full-duplex mode, crs is asserted only during receive operations. 7.2.23 auto-negotiation the objective of auto-negotiation is to provide a means to exchange information between segment linked devices and to automatically configure both devices to take maximum advantage of their abilities. it is important to note that auto-negotiation does not test the link segment characteristics. the auto-negotiation function provides a means for a device to advertise supported modes of operation to a remote link partner, acknowledge the receipt and understanding of common modes of operation, and to reject un-shared modes of operation. this allows devices on both ends of a segment to establish a link at the best common mode of operation. if more than one common mode exists between the two devices, a mechanism is provided to allow the devices to resolve to a single mode of operation using a predetermined priority resolution function.
DM9621A usb2.0 to fast ethernet controller final doc no: DM9621A-13-mco-ds-f01 june 30, 2015 54 7.2.24 auto-negotiation (continued) auto-negotiation also provides a parallel detection function for devices that do not support the auto-negotiation feature. during parallel detection there is no exchange of configuration information, instead, the receive signal is examined. if it is discovered that the signal matches a technology that the receiving device supports, a connection will be automatically established using that technology. this allows devices that do not support auto-negotiation but support a common mode of operation to establish a link. 7.2.25 energy-efficient ethernet (eee) DM9621A support ieee 802.3az energy-efficient ethernet (eee) for 100base-tx transmission. when DM9621A detects low link utilization, it requests the transmitter to enter the low power idle (lpi) mode and send appropriate symbols over the link. upon receiving and decoding those symbols, the receiver can enter the lpi mode. the transmitter and receiver can enter and exit low power states independently. energy is conserved by deactivating the corresponding functional blocks. auto-negotiation function is used to determine whether both link partners support eee. if both link partners support eee capability of 100base-tx, DM9621A enables the eee function to save power when no packets are being transmitted. phy register 1d bit 12 is high to indicate the status.
DM9621A usb2.0 to fast ethernet controller final doc no: DM9621A-13-mco-ds-f01 june 30, 2015 55 8 dc and ac electrical characteristics 8.1 absolute maximum ratings symbol parameter min. max. unit conditions d vdd supply voltage -0.3 3.6 v *1 v in dc input voltage (vin) -0.5 5.5 v *2 v out dc output voltage(vout) -0.3 3.6 v *2 t stg storage temperature range -65 +150 c - t a ambient temperature 0 +70 c - l t lead temperature (l t , soldering, 10 sec.). - +260 c *1: power pin *2: io pin 8.1.1 operating conditions symbol parameter min. typ. max. unit conditions d vdd supply voltage 3.135 3.300 3.465 v p d (power dissipation) *1 100base-tx --- 163 --- ma 3.3v 100base-tx az enable w/o traffic --- 118 --- ma 3.3v 100base-tx az enable with traffic --- 160 --- ma 3.3v 10base-t --- 163 --- ma 3.3v 10base-t idle --- 135 --- ma 3.3v usb suspend mode --- 2.48 --- ma 3.3v *1: demo board testing result
DM9621A usb2.0 to fast ethernet controller final doc no: DM9621A-13-mco-ds-f01 june 30, 2015 56 8.2 dc electrical characteristics (vdd = 3.3v) symbol parameter min. typ. max. unit conditions inputs v il input low voltage - - 0.8 v v ih input high voltage 2.0 - - v i il input low leakage current -1 - - ua vin = 0.0v i ih input high leakage current - - 1 ua vin = 3.3v outputs v ol output low voltage - - 0.4 v iol = 4ma v oh output high voltage 2.4 - - v ioh = -4ma receiver v icm rx+/rx- common mode input voltage - 1.8 - v 100 w termination across transmitter v td 100 100tx+/- differential output voltage 1.9 2.0 2.1 v peak to peak v td 10 10tx+/- differential output voltage 4.4 5 5.6 v peak to peak i td 100 100tx+/- differential output current 19 20 21 ma absolute value i td 10 10tx+/- differential output current 44 50 56 ma absolute value
DM9621A usb2.0 to fast ethernet controller final doc no: DM9621A-13-mco-ds-f01 june 30, 2015 57 8.3 ac electrical characteristics & timing waveforms 8.3.1 tp interface symbol parameter min. typ. max. unit conditions t tr/f 100tx+/- differential rise/fall time 3.0 - 5.0 ns t tm 100tx+/- differential rise/fall time mismatch 0 - 0.5 ns t tdc 100tx+/- differential output duty cycle distortion 0 - 0.5 ns t t/t 100tx+/- differential output peak-to-peak jitter 0 - 1.4 ns x ost 100tx+/- differential voltage overshoot 0 - 5 % 8.3.2 oscillator/crystal timing (25 c) symbol parameter min. typ max. unit conditions t ckc osc clock cycle 39.9988 40 40.0012 ns 30ppm t pwh osc pulse width high - 20 - ns t pwl osc pulse width low - 20 - ns
DM9621A usb2.0 to fast ethernet controller final doc no: DM9621A-13-mco-ds-f01 june 30, 2015 58 9 ac timing waveform 9.1 power on reset timing rstb strap pins t4 t2 eecs t5 t6 power on t1 t3 symbol parameter min. typ. max. unit conditions t1 power on reset time 15 - - ms - t2 rstb low period 5 - - ms t3 strap pin setup time with rstb 40 - - ns - t4 strap pin hold time with rstb 40 - - ns - t5 rstb high to eecs high - 1 - us - t6 rstb high to eecs burst end - -- 1.85 ms -
DM9621A usb2.0 to fast ethernet controller final doc no: DM9621A-13-mco-ds-f01 june 30, 2015 59 9.2 eeprom timing eecs eeck eedio t1 t2 t3 t4 t5 symbol parameter min. typ. max. unit t1 eecs hold time 4.2 us t2 eeck cycle time 5.12 us t3 eedio hold time in output state 4.2 us t4 eedio setup time in input state 8 ns t5 eedio hold time in input state 1 ns 9.3 mii management timing mdc mdio (output) t1 t2 t3 t4 mdio (input) symbol parameter min. typ. max. unit t1 mdc frequency 1.04 mhz t2 mdio output delay time 600 ns t3 mdio by external mii setup time 368 ns t4 mdio by external mii hold time 1 ns
DM9621A usb2.0 to fast ethernet controller final doc no: DM9621A-13-mco-ds-f01 june 30, 2015 60 9.4 rmii tx timing clk50m txe txd_1~0 t1 symbol parameter min. typ. max. unit t 1 txe,txd_1~0 delay time 6 ns 9.5 rmii tx timing clk50m rxdv rxd_1~0 t1 t2 symbol parameter min. typ. max. unit t1 rxdv,rxd_1~0 setup time 2 ns t2 rxdv,rxd_1~0 hold time 3 ns
DM9621A usb2.0 to fast ethernet controller final doc no: DM9621A-13-mco-ds-f01 june 30, 2015 61 10 magnetic and crystal selection guide 10.1 magnetic selection guide refer to table 1 for transformer requirements. transformers, meeting these requirements, are available from a variety of magnetic manufacturers. designers should test and qualify all magnetic before using them in an application. the transformers listed in table 1 are electrical equivalents, but may not be pin-to-pin equivalents. designers should test and qualify all magnetic specifications before using them in an application. rohs regulations, please contact with your magnetic vendor, this table only for you reference manufacturer part number delta lfe8505-dc, lfe8563-dc, lfe8583-dc magcom hs9016, hs9024 halo tg110-s050n2, tg110-lc50n2 bel fuse s558-5999-w2 table 1 10.2 crystal selection guide a crystal can be used to generate the 25mhz reference clock instead of an oscillator. the crystal must be a fundamental type, and series-resonant. connects to pins x1 and x2, and shunts each crystal lead to ground with a 15pf capacitor (see figure 10-1). parameter spec type fundamental, series-resonant frequency 25.000 mhz +/- 30ppm equivalent series resistance 25 ohms max load capacitance 22 pf typ. case capacitance 7 pf max. power dissipation 1mw max. figure 10-1 crystal circuit diagram 46 47 x1 x2 gnd g nd 15pf 25m hz 15 pf
DM9621A usb2.0 to fast ethernet controller final doc no: DM9621A-13-mco-ds-f01 june 30, 2015 62 11 application circuit
DM9621A usb2.0 to fast ethernet controller final doc no: DM9621A-13-mco-ds-f01 june 30, 2015 63
DM9621A usb2.0 to fast ethernet controller final doc no: DM9621A-13-mco-ds-f01 june 30, 2015 64
DM9621A usb2.0 to fast ethernet controller final doc no: DM9621A-13-mco-ds-f01 june 30, 2015 65 12 package information qfn 48l outline dimension unit: inch/mm note: 1. controlling dimension: millimeter 2. reference document: jedec mo-220 symbol dimension in mm dimension in inch min nom max min nom max a 0.80 0.85 0.90 0.031 0.033 0.035 a1 0.00 0.02 0.05 0.000 0.001 0.002 a2 0.60 0.65 0.70 0.024 0.026 0.028 a3 0.02 ref 0.008 ref b 0.18 0.25 0.30 0.007 0.010 0.012 d/e 6.90 7.00 7.10 0.272 0.276 0.280 d1/e1 6.75 bsc 0.266 bsc d2/e2 4.90 5.05 5.20 0.193 0.199 0.205 e 0.50 bsc 0.020 bsc l 0.30 0.40 0.50 0.012 0.016 0.020 0 o --- 14 o 0 o --- 14 o r 0.09 --- --- 0.004 --- --- k 0.20 --- --- 0.008 --- --- aaa 0.15 0.006 bbb 0.10 0.004 ccc 0.10 0.004 ddd 0.05 0.002 eee 0.08 0.003 fff 0.10 0.004
DM9621A usb2.0 to fast ethernet controller final doc no: DM9621A-13-mco-ds-f01 june 30, 2015 66 13 ordering information part number pin count package DM9621Anp 48 qfn (pb-free) disclaimer the information appearing in this publication is believed to be accurate. integrated circuits sold by davicom semiconductor are covered by the warranty and patent indemnification provisions stipulated in the terms of sale only. davicom makes no warranty, express, statutory, implied or by description regarding the information in this publication or regarding the information in this publication or regarding the freedom of the described chip(s) from patent infringement. further, davicom makes no wa rranty of merchantability or fitness for any purpose. davicom reserves the right to halt production or alter the specifications and prices at any time without notice. accordingly, the reader is cautioned to verify that the data sheets and other informatio n in this publication are current before placing orders. products described herein are intended for use in normal commercial applications. applications involving unusual environmental or reliability requirements, e.g. military equipment or medical life support equipment, are specifically not recommended without additional processing by davicom for such applications. please note that application circuits illustrated in this document are for reference purposes only. davicom?s terms and conditions printed on the order acknowledgment govern all sales by davicom. davicom will not be bound by any terms inconsistent with these unless davicom agrees otherwise in writing. acceptance of the buyer?s orders shall be based on these terms. company overview davicom semiconductor inc. develops and manufactures integrated circuits for integration into data communication products. our mission is to design and produce ic products that are the industry?s best value for data, audio, vi deo, and internet/intranet applications. to achieve this goal, we have built an organization that is able to develop chipsets in response to the evolving technology requirements of our customers while still delivering products that meet their cost requirements. products we offer only products that satisfy high performance requirements and which are compatible with major hardware and software standards. our currently available and soon to be released products are based on our proprietary designs and deliver high quality, high performance chipsets that comply with modem communication standards and ethernet networking standards. contact windows for additional information about davicom products, contact the sales department at: headquarters hsin-chu office: no.6, li-hsin 6th rd., hsinchu science park, hsin-chu city 300, taiwan, r.o.c. tel: +886-3-5798797 fax: +886-3-5646929 mail: sales@davicom.com.tw http: http://www.davicom.com.tw warning conditions beyond those listed for the absolute maximum may destroy or damage the products. in addition, conditions for sustained periods at near the limits of the operating ranges will stress and may temporarily (and permanently) affect and damage structure, performance and function.


▲Up To Search▲   

 
Price & Availability of DM9621A

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X